body, html {
  height: 100%;
  -webkit-tap-highlight-color: transparent; 
  font-size: 14px;
  margin: 0;
}
@font-face {
  font-family: 'iconfont';  /* project id 276338 */
  src: url('//at.alicdn.com/t/font_30q3c4twizzolxr.eot');
  src: url('//at.alicdn.com/t/font_30q3c4twizzolxr.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_30q3c4twizzolxr.woff') format('woff'),
  url('//at.alicdn.com/t/font_30q3c4twizzolxr.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_30q3c4twizzolxr.svg#iconfont') format('svg');
}
.iconfont{
  font-family:"iconfont" !important;
  font-style:normal;
  margin:0px 8px;
}
.weui-grid__icon i.iconfont{
  font-size: 28px;
  margin:0;
}
.text-right{
  text-align: right;
}
.font-size-12{font-size: 12px;}
.font-size-14{font-size: 14px;}
.font-size-16{font-size: 16px;}
.font-size-18{font-size: 18px;}
.font-size-24{font-size: 24px;}
.font-size-50{font-size: 50px;}
.color-red{color: #ea5413;}
.color-gray{color: #aaa;}
.color-green{color: #00bf99;}
.color-blue{color: #0092e6;}
.color-orange{color: #ff9900;}
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.bg-orange{
  background-color: #f8dd52;
  color:#fff;
}
.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
}

/* 重置weui样式 */
.weui-cells{
  margin-top: 0;
}
.weui-grid__icon{
  margin-bottom:12px;
}
.weui-form-preview__hd{
  border-top: 8px solid #e9e9e9;
}
.weui-form-preview:first-child .weui-form-preview__hd{
  border: none;
}
.weui-form-preview__bd{
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.weui-form-preview__hd .weui-form-preview__value{
  font-size:1.2em;
  color:#ea5413;;
}
.weui-navbar__item.weui-bar__item--on{
  color:#e64340;
}

article ol{
  padding-left:15px;
}
article ul{
  padding-left:15px;
}
/* 头部header */
header{
  position: relative;
  z-index: 100;
  height: 48px;
  width: 100%;  
  background-color: #e64340;
}
.demos-title {
  text-align: center;
  font-weight:bold;
  font-size: 19px;
  line-height:48px;
  color: white;
  margin: 0 15%;
}

header img{
  height: 24px;
  position: absolute;
  left: 10px;
  top:13px;
}
header .demos-left i.iconfont{
  height:24px;
  font-size: 24px;
  line-height:24px;
  display: inline-block;
  position: absolute;
  top:15px;
  left:15px;
  color: #fff;
  text-align: left;
}
header .demos-left .iconfont{
  margin-left: 0;
}
header .demos-right{
  height:30px;
  font-size: 14px;
  line-height:30px;
  display: inline-block;
  position: absolute;
  top:10px;
  right:15px;
  color: #fff;
}
header .demos-right.choose select{
  border: none;
  position: absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background-color: transparent;
  color: transparent;
}
/* 主体 */
main{
  height: calc(100% - 102px);
  overflow: auto; 
  -webkit-overflow-scrolling:touch;
}
div.main{
  height: calc(100% - 54px);
  overflow: auto; 
  -webkit-overflow-scrolling:touch;
}
#main{
  height: calc(100% - 48px);
  overflow: auto;
  -webkit-overflow-scrolling:touch; 
}
div.smain{
  height: calc(100% - 92px);
  overflow: auto; 
  -webkit-overflow-scrolling:touch;
}
#haveser{
  height: calc(100% - 44px);
  overflow: auto; 
  -webkit-overflow-scrolling:touch;
}
section{
  overflow: auto;
  -webkit-overflow-scrolling:touch;
}
/* footer */
footer{
  width: 100%;
  height: 54px;
  z-index: 100;
  background-color: #fff;
}
footer.weui-flex{
  
  text-align: center; 
  box-sizing: border-box;
  border-top: 1px solid rgba(0,0,0,0.1);
  
}
footer.weui-flex .weui-flex__item{
  position: relative;
  padding: 0;
  margin: 0;
  line-height: 14px;
}
footer a{
  color: #ccc;
}
footer.weui-flex .weui-flex__item i{
  line-height: 32px;
  font-size: 26px;
}

footer a.active{
  color: #e64340;
}

.color-black{
  color: black !important;
  font-size: 17px;
}
.red{
  color: #f00;
}

/* 轮播图 */
.swiper-container {
  width: 100%;
}
.swiper-slide{
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.swiper-slide img{
  width:100%;
}
/* 商机*/
.busbox.weui-flex .weui-flex__item{
  box-sizing: border-box;
  padding: 30px 0px;
  text-align: center;
  border:1px solid #eee;
}
.busbox h3{
  color:red;
  font-size: 26px;
}

/* we-wap*/
.out{
  font-size: 16px;
  position: absolute;
  top:5px;
  right:10px;
  color: #ccc;
  z-index: 100;
}
.out .iconfont{
  font-size: 24px;
  margin: 0;
  padding: 0;
}
.my{
  padding: 10px;
  background: rgba(0,0,0,0.005);
  background-size: cover;
  text-align: center;
  position: relative;
}
.circle{
  border-radius: 50%;
  overflow: hidden;
}
.my .myphoto {
  width:100px;
  height:100px;
  margin:10px auto;
  text-align: center;
  position: relative;
}
.my .myphoto img{
  width:100%;
  max-height: 100%;
  vertical-align: top;
}
.my .getmoney{
  line-height: 1;
  width: 30%;
  position: absolute;
  bottom: -1px;
  right: 0;
}
.my .getmoney img{
  width: 100%;
}
.all .weui-cells__title{
  margin:0;
  background-color: #f8f8f8;
  height:30px;
  line-height: 30px; 
}
/* 打卡 */
.small{
  font-size: .6em;
}
.clock .weui-flex__item h3{
  padding-left: 15px;
  line-height: 46px;
  font-size: 22px;
}
.dakadiv{
  text-align: center;
}

.dakadiv div:first-child{
  box-shadow:0px 0px 15px #333;
  margin: 8% 0;
  display: inline-block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  line-height: 100px;
}

/* 通讯录 */
.contact-box .weui-media-box__title{
  position: relative;
}
.contact-box .weui-media-box__title span.small{
  position: absolute;
  right: 0;
  bottom: 0;
}

/* 投诉 */
.complaint-box .weui-media-box{
  border-bottom: 1px solid #d9d9d9;
  
}
.complaint-box .weui-media-box__title{
  color: #04BE02;
}
.complaint-box .weui-media-box__desc{
  color: #f6383a;
}

/* business */
.search{
  position: relative;
  z-index: 100;
}

/* preview */

.timeline{
  padding:15px;
}
.timeline_item{
  width: 100%;
}

.timeline_cerattime{
  box-sizing: border-box;
  padding: 5px 5px 8px 5px;
  float: left;
  width:20%;
  min-height:40px;
  word-wrap:break-word;
  font-size: 12px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  position: relative;
  top: 0;
  vertical-align: top;
}
.timeline_cerattime:after{
  content: ' ';
  width: 10px;
  height: 10px;
  position: absolute;
  top: 12px;
  right: -5px;
  background: #fff;
  transform:rotate(45deg);
  box-shadow: 1px -1px 3px rgba(0,0,0,0.09);
}
.timeline_text{
  min-height:40px;
  float: left;
  box-sizing: border-box;
  padding: 5px 10px;
  width:70%;
  font-size: 12px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  position: relative;
  top: 0;
  vertical-align: top;
  line-height: 18px;
}
.timeline_text:before{
  content: ' ';
  width: 10px;
  height: 10px;
  position: absolute;
  top: 12px;
  left: -5px;
  background: #fff;
  transform:rotate(45deg); 
  box-shadow: -1px 1px 3px rgba(0,0,0,0.09);
}
.timeline_dot{
  float: left;
  width:10%;
  min-height: 110px;
  text-align: center;
  background: url('../images/line-v.png') repeat-y center top;
}
.timeline_dot div{
  width: 10px;
  height: 10px;
  display: inline-block;
  background: #aaa;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  top:6px;
  position: relative;
  border:3px solid #fff;
}
.timeline_dot.timeline_dot_red{
  background: #ff6600;
}

.timeline_text .weui-flex__item{
  text-align: center;
  padding:10px;
}
.flex-container > div{
  width:30%;
}
.mybtn{
  border: none;
  width: 100%;
  height: 28px;
  border-radius: 4px;
}
/* 考勤状况 */
#myStat{
  margin:30px auto;
}
.text-center{
  text-align: center;
}

/* 申请/审批 */
.weui-media-box__hd span{
  display: block;
  height: 60px;
  width: 60px;
  border-radius: 8px;
  line-height: 60px;
  text-align: center;
  font-size:18px;
}

/* 考勤情况 */
.blockbox{
  display: inline-block;
  border-radius: 5px;
  background-color: #f00;
  text-align: center;
  width: 22px;
  height: 22px;
  color: white;
}
/*会计客户*/
.bursar{
  display: inline-block;
  border-radius:4px;
  padding:0px 2px;
  text-align: center;
  height: 30px;
  line-height:30px;
  min-width:15%;
  font-size:12px;
}

/*日报*/
section{
  border-bottom: 1px solid #ddd;
}
section .text-right{
  margin:0;
}
/*钱包流水*/
.incomes .weui-cells{
  position: relative;
}
.incomes .datachoose{
  position: absolute;
  right:15px;
  top:-5px;
  width:38px;
  height:44px;
  line-height: 44px;
  font-size: 30px;
  color: #aaa;
}
.incomes .datachoose input{
  border: none;
  position: absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background-color: transparent;
  color: transparent;
}
.incomes .weui-panel{
  margin-top: 0;
}
.incomes .weui-media-box__hd{
  box-shadow:0px 0px 15px #777;
  box-sizing: border-box;
  border-radius: 5px;
  line-height: 60px;
  font-size: 30px;
  overflow: hidden;
}

/*客户*/
.gs-four{
  border-bottom: 1px solid #c0bfc4;
}
.gs-four .weui-flex__item{
  padding:10px 0px;
}

